package com.flurry.android;

import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;

final class r
{
  private static HashMap<String, bv> Y = new HashMap();

  public static void a(String paramString1, String paramString2, Object paramObject)
  {
    if (Y.containsKey(paramString1))
    {
      ((bv)Y.get(paramString1)).b(paramString2, paramObject);
      return;
    }
    bv localbv = new bv(paramString1);
    localbv.b(paramString2, paramObject);
    Y.put(paramString1, localbv);
  }

  public static void a(String paramString1, String paramString2, String paramString3)
  {
    if (!Y.containsKey(paramString1))
      return;
    ((bv)Y.get(paramString1)).b(paramString2, paramString3);
  }

  public static void a(String paramString1, String paramString2, String paramString3, Object paramObject)
  {
    if (Y.containsKey(paramString1))
    {
      ((bv)Y.get(paramString1)).b(paramString3, paramObject);
      return;
    }
    bv localbv = new bv(paramString1, paramString2);
    localbv.b(paramString3, paramObject);
    Y.put(paramString1, localbv);
  }

  public static boolean a(String paramString)
  {
    if (!Y.containsKey(paramString))
      return false;
    Y.remove(paramString);
    return true;
  }

  public static boolean a(String paramString, Object paramObject)
  {
    if (!Y.containsKey(paramString))
      return false;
    bv localbv = (bv)Y.get(paramString);
    boolean bool = localbv.a(paramObject);
    if (localbv.size() == 0)
      Y.remove(paramString);
    return bool;
  }

  public static boolean a(String paramString1, String paramString2)
  {
    if (!Y.containsKey(paramString1))
      return false;
    bv localbv = (bv)Y.get(paramString1);
    boolean bool = localbv.removeObserverForKey(paramString2);
    if (localbv.size() == 0)
      Y.remove(paramString1);
    return bool;
  }

  public static boolean b(String paramString)
  {
    if (!Y.containsKey(paramString))
    {
      bv localbv = new bv(paramString);
      Y.put(paramString, localbv);
    }
    ((bv)Y.get(paramString)).al();
    return true;
  }

  public static boolean c(String paramString)
  {
    if (!Y.containsKey(paramString))
      return false;
    ((bv)Y.get(paramString)).am();
    return true;
  }

  public static boolean d(String paramString)
  {
    return Y.containsKey(paramString);
  }

  public static boolean e(String paramString)
  {
    if (!Y.containsKey(paramString))
      return false;
    return ((bv)Y.get(paramString)).isAutoSyncEnabled();
  }

  final void start()
  {
    if (Y.size() > 0)
    {
      Iterator localIterator = Y.values().iterator();
      while (localIterator.hasNext())
        ((bv)localIterator.next()).start();
    }
  }

  final void stop()
  {
    if (Y.size() > 0)
    {
      Iterator localIterator = Y.values().iterator();
      while (localIterator.hasNext())
        ((bv)localIterator.next()).stop();
    }
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.flurry.android.r
 * JD-Core Version:    0.6.2
 */